<?php
/**
 * Copyright (c) 2006-2008, Julien PORTALIER
 * http://featherphp.googlecode.com/
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 */

header('Content-Type: text/html');
?>
<?= html::doctype('xhtml11') ?>
<?= html::namespace('xhtml11') ?>
<head>
	<title><?= $title_for_layout ?></title>
	<?= html::charset() ?>
	<? if (!DEBUG): ?>
		<meta http-equiv="Refresh" content="<?= $time.';url='.$url ?>" />
	<? endif; ?>
<style type="text/css">
.redirect { text-align: center; font: 14px/1.4 sans-serif; }
.redirect a { font-weight: bold; font-size: 1.4em; }
</style>
</head>
<body>
	<p class="redirect">
		<?= html::link($message, $url) ?>
	</p>
</body>
</html>